<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>baseline</title>
    <style>
        div{
            display: inline-block;
            width:150px;
            height:150px;
            border:1px solid #cad53d;
            background-color: #cccccc;
            line-height: 0;
        }
    </style>
</head>
<body>

<div class="bas"></div>
<div class="bas">x-baseline</div>
</body>
</html>